From: Georges Basile Stavracas Neto Date: Thu, 10 Dec 2020 20:35:09 +0000 (-0300) Subject: overviewControls: Show DashSpacer in apps page as well X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~587 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ea02aa399d223f0c5b478cb219a2895f387716d2;p=gnome-shell.git overviewControls: Show DashSpacer in apps page as well Part-of: --- diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index 9d18d82f8..af0263f14 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -435,8 +435,6 @@ class ControlsManager extends St.Widget { this._group.add_child(this.viewSelector); this._group.add_actor(this._thumbnailsSlider); - Main.overview.connect('showing', this._updateSpacerVisibility.bind(this)); - this.connect('destroy', this._onDestroy.bind(this)); } @@ -482,18 +480,8 @@ class ControlsManager extends St.Widget { this._thumbnailsSlider.slideOut(); } - _updateSpacerVisibility() { - if (Main.overview.animationInProgress && !Main.overview.visibleTarget) - return; - - let activePage = this.viewSelector.getActivePage(); - this._dashSpacer.visible = activePage == ViewSelector.ViewPage.WINDOWS; - } - _onPageEmpty() { this._dashSlider.pageEmpty(); this._thumbnailsSlider.pageEmpty(); - - this._updateSpacerVisibility(); } });